package com.fortune.service;

import java.util.List;

import com.fortune.dto.in.distributorOrder.DistributorOrderAddDto;
import com.fortune.dto.in.distributorOrder.DistributorOrderEditDto;
import com.fortune.dto.in.distributorOrder.DistributorOrderListDto;
import com.fortune.entity.MUserInfo;
import com.fortune.vo.distributorOrderMgt.DistributorOrder;
import com.fortune.vo.distributorOrderMgt.DistributorOrderDetail;

public interface DistributorOrderMgtService {
	/**
	 * 经销商订单列表
	 * @param distributorOrderMgtListDto
	 * @return
	 */
	List<DistributorOrder> list(MUserInfo mUserInfo,DistributorOrderListDto distributorOrderMgtListDto);
	
	int count(MUserInfo mUserInfo,DistributorOrderListDto distributorOrderMgtListDto);
	/**
	 * 经销商订单详情
	 * @param mId
	 * @param dId
	 * @param orderId
	 * @return
	 */
	DistributorOrderDetail detail(String mId,String dId,String orderId);
	/**
	 * 添加订单
	 * @param editDto
	 * @return
	 */
	int add(DistributorOrderAddDto addDto,String mId,String createUser);
	
	int edit(DistributorOrderEditDto editDto,String mId,String createUser);
	
	int delete(String mId, String dId, String orderId);
	
	int approve(String name,String mId, String dId, String orderId,String shipStore,String createUser);

	int findNO(String mid,String did,int identification,String orderId,String no);

}
